{% load static %}

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>蒋维博客</title>

    <!-- 引入本地的 Bootstrap CSS -->
    <link href="{% static 'bootstrap5/css/bootstrap.min.css' %}" rel="stylesheet">
    <!-- 引入本地的 Bootstrap JS -->
    <script src="{% static 'bootstrap5/js/bootstrap.bundle.min.js' %}"></script>

    <link rel="stylesheet" href="{% static 'css/base.css' %}">
</head>
<body>
<!-- 页面内容 -->

<!-- Bootstrap header -->
<header class="p-3 text-bg-light border-bottom">
    <div class="container">
        <div class="d-flex flex-wrap align-items-center justify-content-center justify-content-lg-start">
            <a href="/" class="d-flex align-items-center mb-2 mb-lg-0 text-white text-decoration-none">
                <img src="{% static 'images/logo.png' %}" width="40" height="32" alt="">
            </a>

            <ul class="nav col-12 col-lg-auto me-lg-auto mb-2 justify-content-center mb-md-0">
                <li><a href="#" class="nav-link px-2 text-secondary">首页</a></li>
                <li><a href="#" class="nav-link px-2 text-secondary">发布博客</a></li>
            </ul>
            <form class="col-12 col-lg-auto mb-3 mb-lg-0 me-lg-3" role="search">
                <input type="search" class="form-control" placeholder="搜索..." aria-label="Search">
            </form>

            <div class="text-end">
                <button type="button" class="btn btn-outline-primary me-2">注册</button>
                <button type="button" class="btn btn-primary">登录</button>
            </div>
        </div>
    </div>
</header>

<!-- Bootstrap container -->
<main class="container text-bg-light mt-4 p-3 rounded">
    <div class="m-auto" style="max-width: 330px">
        <h1 class="text-center">请注册</h1>
        <form>
            <div class="mb-3">
                <label for="username" class="form-label">用户名</label>
                <input type="text" class="form-control" id="username" placeholder="用户名">
            </div>
            <div class="mb-3">
                <label for="exampleInputEmail1" class="form-label">邮箱</label>
                <input type="email" class="form-control" id="exampleInputEmail1" placeholder="邮箱">

            </div>
            <div class="mb-3">
                <label class="form-label">验证码</label>
                <div class="input-group mb-3">
                    <input type="text" class="form-control" placeholder="验证码"
                           aria-label="Recipient's username" aria-describedby="button-addon2">
                    <button class="btn btn-outline-secondary" type="button" id="button-addon2">获取验证码</button>
                </div>

            </div>
            <div class="mb-3">
                <label for="exampleInputPassword1" class="form-label">密码</label>
                <input type="password" class="form-control" id="exampleInputPassword1" placeholder="密码">
            </div>

            <button type="submit" class="btn btn-primary w-100">立即注册</button>
        </form>
    </div>


</main>


</body>
</html>
